 //to reset element-ui default css
 .el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

.el-form-item__label{
  padding: 0px 10px 0px 0px !important;
}

.el-tag.el-tag--info {
  color: #909399 !important;
}

.el-scrollbar{
  height: 100%;
  .el-scrollbar__wrap{
    overflow: auto;
  }
  .el-scrollbar__thumb {
    background-color: rgba(153, 153, 153, 0.4);
  }
}
.el-select-dropdown{
  .el-scrollbar{
    .el-scrollbar__wrap{
      overflow: scroll;
    }
  }
}
// 防止内容多的时候tooltip过长
.el-tooltip__popper {
  max-width: 500px !important;
}

.el-message-box__btns{
  display: flex;
  flex-flow: row-reverse;
  button:nth-child(2){
    margin-right: 10px;
  }
}

//globl transition css

/*fade*/
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}
.dialog-fade-enter-active {
  transition: all .3s ease;
}
.dialog-fade-leave-active {
  transition: all .2s ease;
}
.dialog-fade-enter {
  transform: translateY(-500px);
}
.dialog-fade-leave-active {
  transform: translateY(-500px);
}